<h2>短信详情</h2>

<div class="actionBar1">
<?php 
	if(isset($_GET['ok'])) {if($_GET['ok']==0) $mess='发送成功！';unset($_GET['ok']);}//判断添加/更新信息
	$act=isset($_GET['ret'])?$_GET['ret']:$ret;//判断show以后返回路径
	unset($_GET['ret']);unset($_GET['id']);
	$url=array($act)+$_GET;
?>
[<?php echo CHtml::link('返回',$url); ?>]
</div>
<?php $model=$driver_models[0];?>
<table class="dataGrid">
<tr>
	<th class="label"><?php echo CHtml::encode('收信人姓名电话'); ?>
</th>
    <td>
    <?php 
    foreach($driver_models as $n=>$driver){
    	echo $driver->receiver_name.':'.$driver->mobile_no.'&nbsp;&nbsp;&nbsp;&nbsp;';
    	if($n>0&&($n+1)%5==0) echo '<br/><br/>';
    }
    ?>
	</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('msg')); ?>
</th>
    <td><?php echo CHtml::encode($model->msg); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('send_user')); ?>
</th>
    <td><?php echo CHtml::encode($model->send_user); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('send_user_name')); ?>
</th>
    <td><?php echo CHtml::encode($model->send_user_name); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('create_time')); ?>
</th>
    <td><?php echo CHtml::encode($model->create_time); ?>
</td>
</tr>
</table>
<?php if(isset($mess)) echo "<script>alert('$mess');</script>";?>
<div class="actionBar1">[<?php echo CHtml::link('返回',$url); ?>]
</div>